home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
sandwichcooking.swf
/
scripts
/
DefineButton2_424
/
BUTTONCONDACTION on(release).as
< prev
next >
Wrap
Text File
|
2007-09-27
|
736b
|
32 lines
on(release){
this.stopDrag();
this.gotoAndStop(1);
if(this.hitTest(_root.fry.fdrop))
{
_root.txtF._visible = true;
_root.txtF.play();
this._x = targetX;
this._y = targetY;
}
if(this.hitTest(_root.chop.edrop))
{
_root.chop.shammy._visible = true;
this._x = targetX;
this._y = targetY;
if(_root.chr._currentframe == 1)
{
_root.txtX._visible = true;
_root.txtX.play();
_root.chr.gotoAndPlay(11);
this._x = targetX;
this._y = targetY;
}
}
else if(this.hitTest(_root.chr.idrop))
{
_root.chr.ham._visible = true;
this._x = targetX;
this._y = targetY;
}
}